.visitPeriod {
  margin: 20px;
  display: flex;
  flex-direction: column;
  &__title {
    color: var(--color-primary);
    cursor: pointer;
  }
  &__content {
    flex-grow: 1;
    height: 1px;
    &-item {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 5px 15px 5px 10px;
      background-color: #f5f5f5;
      margin-top: 10px;
      font-size: 14px;
      cursor: pointer;
      border-radius: 5px;
      &-name {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
      }
      &-opts {
        display: flex;
        align-items: center;
        color: var(--color-primary);
        cursor: pointer;
        font-size: 17px;
        min-width: 30px;
        justify-content: end;
        &-edit {
          margin-right: 3px;
        }
      }
      &:hover {
        background-color: #e5e7e8;
      }
      &-current {
        background-color: var(--color-primary);
        color: #fff;
        &:hover {
          background-color: var(--color-primary);
        }
        .visitPeriod__content-item-opts {
          color: #fff;
        }
      }
    }
  }
}